function Person(name, age) {
  this.name = name;
  this.age = age;
  this.sayName = function () {
    console.log(this.name);
  };
}

const person1 = new Person("litterstar", 18);
// console.log(person1);
person1.sayName();
